home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Gold Collection
/
Software Vault - The Gold Collection (American Databankers) (1993).ISO
/
cdr25
/
checklim.zip
/
LIMIT.C
next >
Wrap
Text File
|
1993-03-26
|
291b
|
14 lines
#define INCL_DOS
#include <os2.h>
unsigned char buf[50];
main(int argc, char *argv[], char *envp[])
{
int rc;
rc = DosQuerySysInfo(QSV_TOTPHYSMEM, QSV_TOTPHYSMEM, &buf, sizeof(buf));
printf("%u bytes\n", *((unsigned *) buf));
printf("return code rc=%d\n",rc);
}